home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
pnmscale.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
3KB
|
67 lines
ppppnnnnmmmmssssccccaaaalllleeee((((1111)))) XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((11112222 JJJJaaaannnnuuuuaaaarrrryyyy 1111999999991111)))) ppppnnnnmmmmssssccccaaaalllleeee((((1111))))
NNNNAAAAMMMMEEEE
pnmscale - scale a portable anymap
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ppppnnnnmmmmssssccccaaaalllleeee _s [_p_n_m_f_i_l_e]
ppppnnnnmmmmssssccccaaaalllleeee ----xxxxssssiiiizzzzeeee|----wwwwiiiiddddtttthhhh|----yyyyssssiiiizzzzeeee| ----hhhheeeeiiiigggghhhhtttt _s [_p_n_m_f_i_l_e]
ppppnnnnmmmmssssccccaaaalllleeee ----xxxxssssccccaaaalllleeee|----yyyyssssccccaaaalllleeee _s [_p_n_m_f_i_l_e]
ppppnnnnmmmmssssccccaaaalllleeee ----xxxxssssccccaaaalllleeee|----xxxxssssiiiizzzzeeee|----wwwwiiiiddddtttthhhh _s ----yyyyssssccccaaaalllleeee|----yyyyssssiiiizzzzeeee|----hhhheeeeiiiigggghhhhtttt _s
[_p_n_m_f_i_l_e]
ppppnnnnmmmmssssccccaaaalllleeee ----xxxxyyyyssssiiiizzzzeeee _x _y [_p_n_m_f_i_l_e]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Reads a portable anymap as input. Scales it by the
specified factor or factors and produces a portable anymap
as output. If the input file is in color, the output will
be too, otherwise it will be grayscale. You can both
enlarge (scale factor > 1) and reduce (scale factor < 1).
You can specify one dimension as a pixel size, and the other
dimension will be scaled correspondingly.
You can specify one dimension as a scale, and the other
dimension will not be scaled.
You can specify different sizes or scales for each axis.
Or, you can use the special ----xxxxyyyyssssiiiizzzzeeee flag, which fits the
image into the specified size without changing the aspect
ratio.
All flags can be abbreviated to their shortest unique
prefix.
If you enlarge by a factor of 3 or more, you should probably
add a _p_n_m_s_m_o_o_t_h step; otherwise, you can see the original
pixels in the resulting image.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
pbmreduce(1), pnmenlarge(1), pnmsmooth(1), pnm(5)
AAAAUUUUTTTTHHHHOOOORRRR
Copyright (C) 1989, 1991 by Jef Poskanzer.
Page 1 (printed 9/7/93)